<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<!-- Website tracking -->
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-54780113-1', 'auto');
  ga('send', 'pageview');

</script>
<!-- Website tracking -->

<script type="text/javascript" src="js/cash_payment.js"></script>


<link href="css/header.css" rel="stylesheet" type="text/css">
<link href="css/navigation.css" rel="stylesheet" type="text/css" />
<link href="css/template.css" rel="stylesheet" type="text/css" />

<style type="text/css">
body {
	background-image: url(images/wood2.jpg);
	background-repeat: repeat-x;
	margin: 0px;
	background-position: left top;
	background-attachment: fixed;
	background-color: #000000;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
</style>
<link href="css/cash_payment.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
</script>
</head>

<body>

<div id="page_container">

<?php include "header.php" ?>

<?php include "navigation.php" ?>

<div id="contact_us_container">

<form action="process_cash_payment.php" method="post" name="cash_payment_details">

<h1>Your details</h1>

<input id="contact_name" name="first_name" type="text" placeholder="First name" class=""/>

<input id="contact_name" name="last_name" type="text" placeholder="Last name" class=""/>

</div>

<div id="contact_us_container">

<h1>Delivery details</h1>

<input id="contact_name" name="address1" type="text" placeholder="Address line 1" class=""/>

<input id="contact_name" name="address2" type="text" placeholder="Address line 2 (Optional)" class=""/>

<input id="contact_name" name="town" type="text" placeholder="Town/City" class=""/>

<input id="contact_name" name="postcode" type="text" placeholder="Postcode" class=""/>

</div>

<div id="contact_us_container">

<h1>Contact details</h1>

<p>We will contact you regarding your purchase by one of the <br /> below contact methods, please make sure you fill them aout accurately.</p>

<input id="contact_email" name="email" type="text" placeholder="Your email address" class=""/>

<input id="contact_number" name="number" type="text" placeholder="Your contact number" class=""/>

</div>

<div id="contact_us_container">

<h1>Saddle details</h1>

<p>Please check the below saddle details are correct before <br /> completing your order</p>

<h2><b>Saddle:</b> <?php echo $_POST['item_name'] ?></h2>

<h2><b>Saddle cost:</b> £<?php echo $_POST['amount'] ?></h2>

<h2><b>Delivery cost:</b > £<?php echo $_POST['shipping'] ?></h2>

</div>

<div id="contact_us_container">

<input name="item_name" type="hidden" value="<?php echo $_POST['item_name'] ?>"/>
<input name="amount" type="hidden" value="<?php echo $_POST['amount'] ?>"/>
<input name="shipping" type="hidden" value="<?php echo $_POST['shipping'] ?>"/>
<input name="item_number" type="hidden" value="<?php echo $_POST['item_number'] ?>"/>

<input name="submit_button" type="button" class="submit_button" onclick="MM_callJS('validate_form()')" value="Complete order" />

</form>

</div>
<!--contact_us_container-->

</div> 
<!--page_container-->

<?php include "footer.php" ?>

</body>
</html>